import request from '@/utils/request'

export function modelTest(data) {
  return request({
    url: '/model/test/testPerformance',
    method: 'post',
    data: data
  })
}

export function getTest(query) {
  return request({
    url: '/model/test/query',
    method: 'get',
    params: query
  })
}

export function getListTest(query) {
  return request({
    url: '/model/test/list',
    method: 'get',
    params: query
  })
}

// 删除模型管理
export function delTest(mid) {
  return request({
    url: '/model/test/' + mid,
    method: 'delete'
  })
}
